package com.diaosidadui;

public class Test3 {
    public static void main(String[] args) {
        int[] ints = new int[3];
        char[] chars = new char[3];
        float[] floats = new float[3];
        double[] doubles = new double[3];
        boolean[] booleans = new boolean[3];
        String[] strings = new String[3];
        String s= new String();
        System.out.println("s是"+s);
        String s2="";
        StringBuilder s3 =new StringBuilder();
        System.out.println("-----int------");
        for (int i = 0; i < ints.length; i++) {
            System.out.print(ints[i] + " ");
        }

        System.out.println("----------------");
        System.out.println("                ");
        System.out.println("-----char------");
        for (int i = 0; i < chars.length; i++) {
            System.out.print(chars[i] + " ");
        }

        System.out.println("----------------");
        System.out.println("                ");
        System.out.println("-----float------");
        for (int i = 0; i < floats.length; i++) {
            System.out.print(floats[i] + " ");
        }
        System.out.println("----------------");
        System.out.println("                ");

        System.out.println("-----double------");
        for (int i = 0; i < doubles.length; i++) {
            System.out.print(doubles[i] + " ");
        }

        System.out.println("----------------");
        System.out.println("                ");
        System.out.println("-----boolea------");
        for (int i = 0; i < booleans.length; i++) {
            System.out.print(booleans[i] + " ");
        }

        System.out.println("----------------");
        System.out.println("                ");
        System.out.println("-----String------");
        for (int i = 0; i < strings.length; i++) {
            System.out.print(strings[i] + " ");
        }


    }
}
